package com.fuxue.dto;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "创建知识贴")
public class KnowledgeDTO {

    private Integer qd;
    private String serverId;
    private String serverName;
    private String serverAvatar;
    private Integer likeCount;
    private Integer commitCount;
    private String context;
    private LocalDateTime creatTime;
    private String title;
    private String type;
    private List<String>url = new ArrayList<String>();

}
